<html>
    <head>
        <title>Search</title>
    </head>
    <body>
        {% if error %}
            <p style = 'color:red'>请填写要查询的书名</p>
        {% endif %}
        <form action="" method = "get">
            <input type="text" name = "q">
            <input type = "submit" value = "Search">
        </form>
    </body>
</html>